import { ref } from 'vue'

export default function () {
  const form = ref<HTMLFormElement | null>(null)
  function getRegistFormData() {
    return new FormData(form.value as HTMLFormElement)
  }
  return {
    form,
    getRegistFormData
  }
}
